<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:rich="http://richfaces.org/rich"
    template="layout/template.xhtml">

<ui:define name="body">

    <rich:panel>
        <f:facet name="header">Isemirhareket Details</f:facet>


        <s:decorate id="miktar" template="layout/display.xhtml">
            <ui:define name="label">Miktar</ui:define>
            <h:outputText value="#{isemirhareketHome.instance.miktar}"/>
        </s:decorate>

        <div style="clear:both"/>

    </rich:panel>

    <div class="actionButtons">

        <s:button view="/IsemirhareketEdit.xhtml"
                    id="edit"
                 value="Edit"/>

        <s:button view="/#{empty isemirhareketFrom ? 'IsemirhareketList' : isemirhareketFrom}.xhtml"
                    id="done"
                 value="Done"/>

    </div>

    <rich:tabPanel switchType="ajax">

    <rich:tab>
        <f:facet name="label">
            <h:panelGroup><h:graphicImage value="/img/manytoone.gif" style="vertical-align: middle; padding-right: 4px;"/>Harekettur</h:panelGroup>
        </f:facet>
    <div class="association" id="hareketturParent">

        <h:outputText value="There is no harekettur associated with this isemirhareket."
                   rendered="#{isemirhareketHome.instance.harekettur == null}"/>

        <rich:dataTable var="_harekettur"
                   value="#{isemirhareketHome.instance.harekettur}"
                rendered="#{isemirhareketHome.instance.harekettur != null}"
              rowClasses="rvgRowOne,rvgRowTwo"
                      id="hareketturTable">
            <h:column>
                <f:facet name="header">Id</f:facet>
                <h:outputText value="#{_harekettur.id}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Ad</f:facet>
                <h:outputText value="#{_harekettur.ad}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Hareketturgrup id</f:facet>
                <h:outputText value="#{_harekettur.hareketturgrup.id}"/>
            </h:column>
            <h:column styleClass="action">
                <f:facet name="header">Action</f:facet>
                <s:link id="viewharekettur"
                     value="View"
                      view="/Harekettur.xhtml">
                    <f:param name="hareketturId"
                           value="#{_harekettur.id}"/>
                </s:link>
            </h:column>
        </rich:dataTable>

    </div>
    </rich:tab>

    <rich:tab>
        <f:facet name="label">
            <h:panelGroup><h:graphicImage value="/img/manytoone.gif" style="vertical-align: middle; padding-right: 4px;"/>Hareketturgrup</h:panelGroup>
        </f:facet>
    <div class="association" id="hareketturgrupParent">

        <h:outputText value="There is no hareketturgrup associated with this isemirhareket."
                   rendered="#{isemirhareketHome.instance.hareketturgrup == null}"/>

        <rich:dataTable var="_hareketturgrup"
                   value="#{isemirhareketHome.instance.hareketturgrup}"
                rendered="#{isemirhareketHome.instance.hareketturgrup != null}"
              rowClasses="rvgRowOne,rvgRowTwo"
                      id="hareketturgrupTable">
            <h:column>
                <f:facet name="header">Id</f:facet>
                <h:outputText value="#{_hareketturgrup.id}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Ad</f:facet>
                <h:outputText value="#{_hareketturgrup.ad}"/>
            </h:column>
            <h:column styleClass="action">
                <f:facet name="header">Action</f:facet>
                <s:link id="viewhareketturgrup"
                     value="View"
                      view="/Hareketturgrup.xhtml">
                    <f:param name="hareketturgrupId"
                           value="#{_hareketturgrup.id}"/>
                </s:link>
            </h:column>
        </rich:dataTable>

    </div>
    </rich:tab>

    <rich:tab>
        <f:facet name="label">
            <h:panelGroup><h:graphicImage value="/img/manytoone.gif" style="vertical-align: middle; padding-right: 4px;"/>Isemir by isemirid</h:panelGroup>
        </f:facet>
    <div class="association" id="isemirByIsemiridParent">

        <h:outputText value="There is no isemirByIsemirid associated with this isemirhareket."
                   rendered="#{isemirhareketHome.instance.isemirByIsemirid == null}"/>

        <rich:dataTable var="_isemir"
                   value="#{isemirhareketHome.instance.isemirByIsemirid}"
                rendered="#{isemirhareketHome.instance.isemirByIsemirid != null}"
              rowClasses="rvgRowOne,rvgRowTwo"
                      id="isemirByIsemiridTable">
            <h:column>
                <f:facet name="header">Id</f:facet>
                <h:outputText value="#{_isemir.id}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Aypaciklama</f:facet>
                <h:outputText value="#{_isemir.aypaciklama}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Firma id</f:facet>
                <h:outputText value="#{_isemir.firma.id}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Formno</f:facet>
                <h:outputText value="#{_isemir.formno}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Isemirno</f:facet>
                <h:outputText value="#{_isemir.isemirno}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Isemirtarihi</f:facet>
                <h:outputText value="#{_isemir.isemirtarihi}">
                    <s:convertDateTime type="date" dateStyle="short"/>
                </h:outputText>
            </h:column>
            <h:column>
                <f:facet name="header">Isletme id</f:facet>
                <h:outputText value="#{_isemir.isletme.id}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Kalipeki</f:facet>
                <h:outputText value="#{_isemir.kalipeki}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Musteri id</f:facet>
                <h:outputText value="#{_isemir.musteri.id}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Musterimarkalamasi</f:facet>
                <h:outputText value="#{_isemir.musterimarkalamasi}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Planlananadet</f:facet>
                <h:outputText value="#{_isemir.planlananadet}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Siparisno</f:facet>
                <h:outputText value="#{_isemir.siparisno}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Termintarihi</f:facet>
                <h:outputText value="#{_isemir.termintarihi}">
                    <s:convertDateTime type="date" dateStyle="short"/>
                </h:outputText>
            </h:column>
            <h:column>
                <f:facet name="header">Ulke id</f:facet>
                <h:outputText value="#{_isemir.ulke.id}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Upkaciklama</f:facet>
                <h:outputText value="#{_isemir.upkaciklama}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Uretimenotlar</f:facet>
                <h:outputText value="#{_isemir.uretimenotlar}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Urun id</f:facet>
                <h:outputText value="#{_isemir.urun.id}"/>
            </h:column>
            <h:column styleClass="action">
                <f:facet name="header">Action</f:facet>
                <s:link id="viewisemir"
                     value="View"
                      view="/Isemir.xhtml">
                    <f:param name="isemirId"
                           value="#{_isemir.id}"/>
                </s:link>
            </h:column>
        </rich:dataTable>

    </div>
    </rich:tab>

    <rich:tab>
        <f:facet name="label">
            <h:panelGroup><h:graphicImage value="/img/manytoone.gif" style="vertical-align: middle; padding-right: 4px;"/>Isemir by virmanisemirid</h:panelGroup>
        </f:facet>
    <div class="association" id="isemirByVirmanisemiridParent">

        <h:outputText value="There is no isemirByVirmanisemirid associated with this isemirhareket."
                   rendered="#{isemirhareketHome.instance.isemirByVirmanisemirid == null}"/>

        <rich:dataTable var="_isemir"
                   value="#{isemirhareketHome.instance.isemirByVirmanisemirid}"
                rendered="#{isemirhareketHome.instance.isemirByVirmanisemirid != null}"
              rowClasses="rvgRowOne,rvgRowTwo"
                      id="isemirByVirmanisemiridTable">
            <h:column>
                <f:facet name="header">Id</f:facet>
                <h:outputText value="#{_isemir.id}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Aypaciklama</f:facet>
                <h:outputText value="#{_isemir.aypaciklama}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Firma id</f:facet>
                <h:outputText value="#{_isemir.firma.id}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Formno</f:facet>
                <h:outputText value="#{_isemir.formno}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Isemirno</f:facet>
                <h:outputText value="#{_isemir.isemirno}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Isemirtarihi</f:facet>
                <h:outputText value="#{_isemir.isemirtarihi}">
                    <s:convertDateTime type="date" dateStyle="short"/>
                </h:outputText>
            </h:column>
            <h:column>
                <f:facet name="header">Isletme id</f:facet>
                <h:outputText value="#{_isemir.isletme.id}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Kalipeki</f:facet>
                <h:outputText value="#{_isemir.kalipeki}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Musteri id</f:facet>
                <h:outputText value="#{_isemir.musteri.id}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Musterimarkalamasi</f:facet>
                <h:outputText value="#{_isemir.musterimarkalamasi}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Planlananadet</f:facet>
                <h:outputText value="#{_isemir.planlananadet}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Siparisno</f:facet>
                <h:outputText value="#{_isemir.siparisno}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Termintarihi</f:facet>
                <h:outputText value="#{_isemir.termintarihi}">
                    <s:convertDateTime type="date" dateStyle="short"/>
                </h:outputText>
            </h:column>
            <h:column>
                <f:facet name="header">Ulke id</f:facet>
                <h:outputText value="#{_isemir.ulke.id}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Upkaciklama</f:facet>
                <h:outputText value="#{_isemir.upkaciklama}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Uretimenotlar</f:facet>
                <h:outputText value="#{_isemir.uretimenotlar}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Urun id</f:facet>
                <h:outputText value="#{_isemir.urun.id}"/>
            </h:column>
            <h:column styleClass="action">
                <f:facet name="header">Action</f:facet>
                <s:link id="viewisemir"
                     value="View"
                      view="/Isemir.xhtml">
                    <f:param name="isemirId"
                           value="#{_isemir.id}"/>
                </s:link>
            </h:column>
        </rich:dataTable>

    </div>
    </rich:tab>

    <rich:tab>
        <f:facet name="label">
            <h:panelGroup><h:graphicImage value="/img/manytoone.gif" style="vertical-align: middle; padding-right: 4px;"/>Isemirmalzeme</h:panelGroup>
        </f:facet>
    <div class="association" id="isemirmalzemeParent">

        <h:outputText value="There is no isemirmalzeme associated with this isemirhareket."
                   rendered="#{isemirhareketHome.instance.isemirmalzeme == null}"/>

        <rich:dataTable var="_isemirmalzeme"
                   value="#{isemirhareketHome.instance.isemirmalzeme}"
                rendered="#{isemirhareketHome.instance.isemirmalzeme != null}"
              rowClasses="rvgRowOne,rvgRowTwo"
                      id="isemirmalzemeTable">
            <h:column>
                <f:facet name="header">Id</f:facet>
                <h:outputText value="#{_isemirmalzeme.id}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Isemir id</f:facet>
                <h:outputText value="#{_isemirmalzeme.isemir.id}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Makskullanimmiktari</f:facet>
                <h:outputText value="#{_isemirmalzeme.makskullanimmiktari}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Malzeme id</f:facet>
                <h:outputText value="#{_isemirmalzeme.malzeme.id}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Miktar</f:facet>
                <h:outputText value="#{_isemirmalzeme.miktar}"/>
            </h:column>
            <h:column styleClass="action">
                <f:facet name="header">Action</f:facet>
                <s:link id="viewisemirmalzeme"
                     value="View"
                      view="/Isemirmalzeme.xhtml">
                    <f:param name="isemirmalzemeId"
                           value="#{_isemirmalzeme.id}"/>
                </s:link>
            </h:column>
        </rich:dataTable>

    </div>
    </rich:tab>

    <rich:tab>
        <f:facet name="label">
            <h:panelGroup><h:graphicImage value="/img/manytoone.gif" style="vertical-align: middle; padding-right: 4px;"/>Isemirurun</h:panelGroup>
        </f:facet>
    <div class="association" id="isemirurunParent">

        <h:outputText value="There is no isemirurun associated with this isemirhareket."
                   rendered="#{isemirhareketHome.instance.isemirurun == null}"/>

        <rich:dataTable var="_isemirurun"
                   value="#{isemirhareketHome.instance.isemirurun}"
                rendered="#{isemirhareketHome.instance.isemirurun != null}"
              rowClasses="rvgRowOne,rvgRowTwo"
                      id="isemirurunTable">
            <h:column>
                <f:facet name="header">Id</f:facet>
                <h:outputText value="#{_isemirurun.id}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Isemir id</f:facet>
                <h:outputText value="#{_isemirurun.isemir.id}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Miktar</f:facet>
                <h:outputText value="#{_isemirurun.miktar}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Toplammiktar</f:facet>
                <h:outputText value="#{_isemirurun.toplammiktar}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Urun id</f:facet>
                <h:outputText value="#{_isemirurun.urun.id}"/>
            </h:column>
            <h:column styleClass="action">
                <f:facet name="header">Action</f:facet>
                <s:link id="viewisemirurun"
                     value="View"
                      view="/Isemirurun.xhtml">
                    <f:param name="isemirurunId"
                           value="#{_isemirurun.id}"/>
                </s:link>
            </h:column>
        </rich:dataTable>

    </div>
    </rich:tab>

    <rich:tab>
        <f:facet name="label">
            <h:panelGroup><h:graphicImage value="/img/manytoone.gif" style="vertical-align: middle; padding-right: 4px;"/>Sevk</h:panelGroup>
        </f:facet>
    <div class="association" id="sevkParent">

        <h:outputText value="There is no sevk associated with this isemirhareket."
                   rendered="#{isemirhareketHome.instance.sevk == null}"/>

        <rich:dataTable var="_sevk"
                   value="#{isemirhareketHome.instance.sevk}"
                rendered="#{isemirhareketHome.instance.sevk != null}"
              rowClasses="rvgRowOne,rvgRowTwo"
                      id="sevkTable">
            <h:column>
                <f:facet name="header">Id</f:facet>
                <h:outputText value="#{_sevk.id}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Ehliyetno</f:facet>
                <h:outputText value="#{_sevk.ehliyetno}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Irsaliye tarihi</f:facet>
                <h:outputText value="#{_sevk.irsaliyeTarihi}">
                    <s:convertDateTime type="date" dateStyle="short"/>
                </h:outputText>
            </h:column>
            <h:column>
                <f:facet name="header">Irsaliyeno</f:facet>
                <h:outputText value="#{_sevk.irsaliyeno}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Plaka</f:facet>
                <h:outputText value="#{_sevk.plaka}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Ruhsatno</f:facet>
                <h:outputText value="#{_sevk.ruhsatno}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Seri</f:facet>
                <h:outputText value="#{_sevk.seri}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Sevk tarihi</f:facet>
                <h:outputText value="#{_sevk.sevkTarihi}">
                    <s:convertDateTime type="date" dateStyle="short"/>
                </h:outputText>
            </h:column>
            <h:column>
                <f:facet name="header">Sira</f:facet>
                <h:outputText value="#{_sevk.sira}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Teslimalanadsoyad</f:facet>
                <h:outputText value="#{_sevk.teslimalanadsoyad}"/>
            </h:column>
            <h:column>
                <f:facet name="header">Teslimedenadsoyad</f:facet>
                <h:outputText value="#{_sevk.teslimedenadsoyad}"/>
            </h:column>
            <h:column styleClass="action">
                <f:facet name="header">Action</f:facet>
                <s:link id="viewsevk"
                     value="View"
                      view="/Sevk.xhtml">
                    <f:param name="sevkId"
                           value="#{_sevk.id}"/>
                </s:link>
            </h:column>
        </rich:dataTable>

    </div>
    </rich:tab>
</rich:tabPanel>
</ui:define>

</ui:composition>
